#{extends 'main.html' /}
#{set title:'Welcome' /}

#{set 'moreScripts'}
#{script 'directfollow.js'  /}
#{/set}

<div class="welcome_title">
Dear <strong>${facebookName}</strong>, <br />
Welcome to <strong>TV WORLD!</strong> <br /> <br />

You can follow your favourite TV Series,<br /> Get information about episodes,<br />Remark your opinion about shows,<br /> and share them with your friends easily. <br /> <br />

We checked your Facebook Likes and found some TV series. <br /><br />

You can start to <strong>follow</strong> right now: <br /> <br />

#{list items:series, as:'serie'}

#{if user?.follows?.contains(serie)}
<li id="${serie.id}li">${serie.name}</li>
#{/if}
#{else}
<li id="${serie.id}li"><a href="#" id="clickingEvent" class="directfollow" rel="${serie.id}" title="${serie.name}">${serie.name}</a></li>
#{/else}
#{/list}
</div>